home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / u_man / cat1 / jlimit.z / jlimit
Encoding:
Text File  |  2002-10-03  |  6.5 KB  |  199 lines

  1.  
  2.  
  3.  
  4. jjjjlllliiiimmmmiiiitttt((((1111))))                                                            jjjjlllliiiimmmmiiiitttt((((1111))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      _jjjj_llll_iiii_mmmm_iiii_tttt - displays and sets resource limits
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      _jjjj_llll_iiii_mmmm_iiii_tttt [_----_jjjj _j_o_b__i_d] [_----_hhhh] [_l_i_m_i_t__n_a_m_e [_v_a_l_u_e]]
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      The _jjjj_llll_iiii_mmmm_iiii_tttt command displays and changes limits on resource usage for a
  16.      job.  The current and maximum (hard) limits are set when a job starts
  17.      from values that are contained in the user limits database (ULDB)
  18.      information for the user.  You can raise and lower your current limits
  19.      within the range not to exceed your maximum limit.  You can irrevocably
  20.      lower your maximum limit.  You must have the  CAP_PROC_MGT capability to
  21.      raise your maximum limit.  Limit enforcement always occurs at the current
  22.      limit regardless of your maximum limit value.  See the capabilities(4)
  23.      man page for more information on the capability mechanism that provides
  24.      fine grained control over the privileges of a process.
  25.  
  26.      The _jjjj_llll_iiii_mmmm_iiii_tttt command accepts the following options:
  27.  
  28.      _----_jjjj _j_o_b__i_d           Specifies a particular job ID for a job where limits
  29.                          are going to be changed.  You must have the
  30.                          CAP_MAC_WRITE and CAP_PROC_MGT capabilities to change
  31.                          job limits for jobs that belong to other users.  The
  32.                          job ID is printed out in hexadecimal.  When the job
  33.                          ID is specified, the "0x" prefix is optional.
  34.  
  35.      _----_hhhh                  Specifies that the maximum limit values for a job are
  36.                          displayed or modified.  If you do not specify the _----_hhhh
  37.                          option, the _jjjj_llll_iiii_mmmm_iiii_tttt command displays or modifies
  38.                          current limit values.
  39.  
  40.      _l_i_m_i_t__n_a_m_e _v_a_l_u_e    Displays or sets the value for the specified limit.
  41.  
  42.                          +o   If no limit name is specified, _jjjj_llll_iiii_mmmm_iiii_tttt displays
  43.                              the values for all limits.
  44.  
  45.                          +o   If the limit name is specified without a value,
  46.                              _jjjj_llll_iiii_mmmm_iiii_tttt displays the value for the limit.
  47.  
  48.                          +o   If both a limit name and a value are specified,
  49.                              _jjjj_llll_iiii_mmmm_iiii_tttt sets the appropriate value for the limit.
  50.  
  51.      If the _----_jjjj option with a _j_o_b__i_d argument is specified, the _jjjj_llll_iiii_mmmm_iiii_tttt command
  52.      will print out the following information:
  53.  
  54.           _%%%% _jjjj_llll_iiii_mmmm_iiii_tttt _----_jjjj _0000_xxxx_1111_4444
  55.  
  56.  
  57.           cputime: unlimited
  58.           datasize: unlimited
  59.           files: 400
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. jjjjlllliiiimmmmiiiitttt((((1111))))                                                            jjjjlllliiiimmmmiiiitttt((((1111))))
  71.  
  72.  
  73.  
  74.           vmemory: unlimited
  75.           ressetsize: unlimited
  76.           threads: 2048
  77.           processes: 1024
  78.           physmem: unlimited
  79.  
  80.  
  81.      The display information is described below:
  82.  
  83.      +o   _cccc_pppp_uuuu_tttt_iiii_mmmm_eeee - Default is in seconds
  84.  
  85.      +o   _dddd_aaaa_tttt_aaaa_ssss_iiii_zzzz_eeee - Default shown in bytes
  86.  
  87.      +o   _ffff_iiii_llll_eeee_ssss - Number of files limit
  88.  
  89.      +o   _vvvv_mmmm_eeee_mmmm_oooo_rrrr_yyyy - Virtual memory limit, default in bytes
  90.  
  91.      +o   _rrrr_eeee_ssss_ssss_eeee_tttt_ssss_iiii_zzzz_eeee - Resident set size, default in bytes
  92.  
  93.      +o   _tttt_hhhh_rrrr_eeee_aaaa_dddd_ssss - Number of threads limit
  94.  
  95.      +o   _pppp_rrrr_oooo_cccc_eeee_ssss_ssss_eeee_ssss - Number of processes limit
  96.  
  97.      +o   _pppp_hhhh_yyyy_ssss_iiii_cccc_aaaa_llll _mmmm_eeee_mmmm_oooo_rrrr_yyyy - Physical memory limit, default in bytes (same value
  98.          as resident set size)
  99.  
  100.      By default, the _jjjj_llll_iiii_mmmm_iiii_tttt command will print out the current limit
  101.      information.  If the _----_hhhh option is specified, the _jjjj_llll_iiii_mmmm_iiii_tttt command will
  102.      print out the maximum limit values for the job.
  103.  
  104.           _%%%% _jjjj_llll_iiii_mmmm_iiii_tttt _----_jjjj _0000_xxxx_1111_4444 _----_hhhh
  105.  
  106.  
  107.           cputime: unlimited
  108.           datasize: unlimited
  109.           files: unlimited
  110.           vmemory: unlimited
  111.           ressetsize: unlimited
  112.           threads: 65535
  113.           processes: 65535
  114.           physmem: unlimited
  115.  
  116.  
  117.      If a limit name is specified, by default, the _jjjj_llll_iiii_mmmm_iiii_tttt command will print
  118.      out the current value of that limit.
  119.  
  120.           _%%%% _jjjj_llll_iiii_mmmm_iiii_tttt _cccc_pppp_uuuu_tttt_iiii_mmmm_eeee
  121.  
  122.  
  123.           cputime: unlimited
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. jjjjlllliiiimmmmiiiitttt((((1111))))                                                            jjjjlllliiiimmmmiiiitttt((((1111))))
  137.  
  138.  
  139.  
  140. NNNNOOOOTTTTEEEESSSS
  141.      The jlimit command is installed as part of the eoe.sw.jlimits package.
  142.  
  143. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  144.      csh(1), jstat(1), sh(1), showlimits(1), capabilities(4).
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.                                                                         PPPPaaaaggggeeee 3333
  196.  
  197.  
  198.  
  199.